package ru.rchervot.sanasar.client.view;


import com.google.gwt.event.shared.HandlerManager;

public abstract class AbstractSectionsPresenter implements SectionsPresenter {
	
	protected final HandlerManager eventBus;
	private Display display;
	
	public AbstractSectionsPresenter(Display display, HandlerManager eventBus) {
		this.display = display;
		this.eventBus = eventBus;
	}
	
	public void bindDisplay() {
		display.setPresenter(this);
	}
	
	@Override
	public SectionsPresenter.Display getDisplay() {
		return display;
	}
	
}
